﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    /// <summary>
    /// 房型管理
    /// </summary>
    public class RoomTypeModel
    {
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 房型名称
        /// </summary>
        public string? RoomTypeName { get; set; }
        /// <summary>
        /// 门市价
        /// </summary>
        public decimal Price { get; set; }
        /// <summary>
        ///面积
        /// </summary>
        public decimal Asay { get; set; }
        /// <summary>
        /// 可住人数
        /// </summary>
        public int Count { get; set; }
        /// <summary>
        /// 状态 是否可加床
        /// </summary>
        public int IsBarty { get; set; }
        /// <summary>
        /// 照片
        /// </summary>
        public string? photo { get; set; }
        /// <summary>
        /// 房型介绍
        /// </summary>
        public string? RoomDesc { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDelete { get; set; } = false;
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime Createtime { get; set; } = DateTime.Now;
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime Updatetime { get; set; } = DateTime.Now;

    }
}
